package cn.xuewenbao.edu.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Auther: mafayu
 */
@Data
public class CourseInfoVo {

    @ApiModelProperty(value = "课程id")
    private String id;

    @ApiModelProperty(value = "课程讲师名称")
    private String teacherUsername;

    @ApiModelProperty(value = "讲师ID")
    private String teacherId;

    @ApiModelProperty(value = "讲师头像")
    private String avatar;

    @ApiModelProperty(value = "用户简介")
    private String teacherDescription;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程描述")
    private String courseDescription;

    @ApiModelProperty(value = "课程价格，为0则可以免费观看")
    private BigDecimal price;

    @ApiModelProperty(value = "销售数量")
    private Long buyCount;

    @ApiModelProperty(value = "收藏数量")
    private Long favoriteCount;

    @ApiModelProperty(value="章节视频列表")
    private List<CourseChapterVo> courseChapterVos;

    @ApiModelProperty(value="是否关注讲师")
    private Boolean isFollow;

    @ApiModelProperty(value="是否已购买")
    private Boolean hasPurchased;

    @ApiModelProperty(value="是否已收藏")
    private Boolean hasFavorite;

}
